package com.ruoyi.common.elasticsearch.service;


import com.ruoyi.common.elasticsearch.domain.EsShopDoc;
import com.ruoyi.utils.PageResult;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * @author: MrPing
 * @createTime: 2022/4/5 23:26
 * @description:
 */
public interface EsShopDocService {

    // 插入店铺数据
    Boolean saveShopDoc(EsShopDoc esShopDoc) throws IOException;

    // 修改店铺数据
    Boolean updateShopDoc(EsShopDoc esShopDoc);

    // 查询 es 条件查询
    PageResult search(EsShopDoc esShopDoc);
}
